#ifndef STLMESH_H
#define STLMESH_H

#include "stlFacet.h"
#include <QList>

class STLMesh
{
public:
    STLMesh();
    ~STLMesh();

    /**
      * Adds a facet to the STL mesh.
      *
      */
    void addFacet(STLFacet& facet);

    /**
      * Returns the mesh
      *
      */
    const QList<STLFacet*>& GetFacets() const;
private:
    QList<STLFacet*> facets_;
    STLMesh(STLMesh&);
    void operator = (STLMesh&);
};

#endif // STLMESH_H
